home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d23 / bbzippj.arc / ZIPPER.DOC < prev    next >
Text File  |  1989-03-01  |  15KB  |  345 lines

  1.  
  2.  
  3.  
  4.      ZIPPER.DOC
  5.  
  6.  
  7.                    ZIPPER.. by the Bytebrothers
  8.                            J.L. Pearson
  9.       
  10.       
  11.         Zipper is designed to let you easily and quickly convert
  12.      any and all .ARC and .PAK files to the to the new Phil Katz
  13.      ZIP format using PKZIP. Place ZIPPER in the directory that
  14.      you keep PAK.EXE, PKUNPAK.EXE and PKZIP.EXE in. ZIPPER will
  15.      automatically sense .ARC or .PAK formats and uncompress them
  16.      and convert them to Phil Katz's new .ZIP format. It operates
  17.      on one file at a time in automated fashion and deletes the
  18.      original file after verifying the unarchive operation.. The
  19.      original file date and time are preserved in the new .ZIP
  20.      file. Any arcs embedded within arcs or embedded pak's within
  21.      arcs or pak's, in fact any combination of the above are
  22.      rezipped before being zipped into the main file so PC Mag
  23.      files and others that contain arcs within arcs will be
  24.      totally zipped.. Four command line switches are available..one
  25.      to allow batch operation without intervention for sysop
  26.      Events.. another to create a running log text file of the
  27.      entire conversion session including all files processed and
  28.      all bad files and unarc errors.. A third switch causes the
  29.      deletion of all bad ARC and PAK files at the end of the
  30.      conversion session.. and the last switch shuts off all sound
  31.      for late night conversions...
  32.       
  33.      the switches are..
  34.       
  35.      /b or b     run in batch mode without user intervention..
  36.      /d or d     delete all bad files at the end of conversion..
  37.      /l or l     keep full log file of all activity for review..
  38.      /s or s     shutup. kill all sound..
  39.       
  40.      Before you rush into conversion read the READ.ME file or the
  41.      note below on correctly installing the PAK.EXE program from
  42.      NoGate Technology.. It can be dangerous when run uninstalled.
  43.       
  44.      ZIPPER path/filename /b /l
  45.       
  46.      path and filename are standard DOS format.. the /b switch
  47.      will force batch operation and should be used to run from
  48.      a batch file.. no operator intervention will be required.
  49.      All bad arcs and pak names are always logged in a BADFILE.LOG
  50.      text file.. The /l switch will cause ZIPPER to create a log
  51.      file called ZIPPER.LOG which will contain a log of every file
  52.      conversion every error and every bad arc/pak file.. as well
  53.      as the time and date of the conversion run..
  54.       
  55.      ZIPPER c:\arcs /l /b
  56.      ZIPPER c:\arcs b l
  57.      are both acceptable..
  58.       
  59.      Here are some examples of usage..
  60.       
  61.      ZIPPER c:\arcs\*.pak
  62.  
  63.  
  64.  
  65.      ZIPPER.DOC             Sunday, February 19, 1989 8:10 pm             Page 2
  66.  
  67.  
  68.       
  69.      this will convert all the .PAK files in directory C:\arcs
  70.      into .ARC files. The original .PAK files will be deleted so
  71.      when ZIPPER is done the .PAK's will be transformed into
  72.      .ZIPs.. If you have a number of .ARC's and .PAK's mixed in a
  73.      directory named C:\com the following commands can be used..
  74.       
  75.      ZIPPER c:\com
  76.       
  77.      this will change all the .PAK and .ARC files so that when
  78.      done directory c:\com will have nothing but .ZIP files..
  79.       
  80.      ZIPPER c:\com\*.arc /b /l
  81.       
  82.      this will change all the .ARC files to .ZIP but leave the
  83.      .PAK files intact.. C:\COM will have only .ZIP and .PAK files
  84.      in it..no .ARC's. It will run without intervention in batch
  85.      mode and a log will be kept of the session..
  86.       
  87.      Let's say you run a bbs and have a directory full of .ARC
  88.      files you want to change to .ZIP.. The directory name is
  89.      C:\bbs\dl1. Enter the following..
  90.       
  91.      ZIPPER c:\bbs\dl1 /l /b /d
  92.       
  93.      ZIPPER will go to dl1 and since it is full of .ARC files it
  94.      will convert every one into a .ZIP file. Entering a directory
  95.      with no filenames is the same as \*.* and all files will be
  96.      converted. Notice that if the directory has both .ARC and
  97.      .PAK files they all will be converted to ZIP. Any .GIF, .MAC
  98.      or other extension files are always ignored.. again a log will
  99.      be kept of the entire conversion session, and at the end of
  100.      the session the /d switch will cause all bad files to be
  101.      deleted.. the filenames and paths will be in the log file..
  102.       
  103.      If you have only one file to convert just enter the filename
  104.      as in ZIPPER pascal.arc  The file PASCAL.ARC will be
  105.      converted to PASCAL.ZIP.. as simple as that..
  106.       
  107.      There is only one requirement for setup on ZIPPER. You must
  108.      set an environment variable SPAT to the path of your archive
  109.      utilities.. PKUNPAK.EXE, PAK.EXE and PKZIP.EXE.
  110.       
  111.      example.
  112.       
  113.      set spat=c:\utility
  114.       
  115.      will tell ZIPPER to look in directory C:\UTILITY for the
  116.      archving files. And to use this directory to store his config
  117.      file and the badfile list..
  118.       
  119.      This command can be placed in your autoexec.bat file and
  120.      ZIPPER will automatically be set up every time you boot..
  121.       
  122.      if you should get an error " out of environment space " when
  123.  
  124.  
  125.  
  126.      ZIPPER.DOC             Sunday, February 19, 1989 8:10 pm             Page 3
  127.  
  128.  
  129.      you boot use the command..
  130.       
  131.      shell=command.com c:\ /e:1024 /p
  132.      Dos 3.3
  133.       
  134.      or
  135.      shell=c:\command.com /e:1024 /p
  136.      Dos 3.2
  137.       
  138.      in your CONFIG.SYS file.. using the drive that you boot from
  139.      and where your copy of command.com is located. This will
  140.      increase your environment area to 1k bytes but will not work
  141.      on early versions of DOS. Most later versions will accept
  142.      either command..
  143.       
  144.      If you are running DesqView or some other muti-taskers they
  145.      DO NOT pass the environment variables correctly by default.
  146.      Drop from DV to Dos and set SPAT.. it will work in DV then.
  147.       
  148.      ZIPPER will also use this path to create it's own
  149.      configuration file the first time you run it. You can modify
  150.      this file ZIPPER.CFG to reflect your unarchive command ( if
  151.      you have modified the commands in PAK.EXE ), the name you
  152.      want to call PKUNPAK ( ie. PKXARC etc.. ), and the actual
  153.      commands you send to PKZIP setting the level of compression.
  154.      Defaults are provided in the ZIPPER.CFG file for standard
  155.      operation at ZIP's highest compression level.. ZIPPER will
  156.      also use this directory to create a BADFILE.LOG file that
  157.      lists any and all .ARC or .PAK files that were bad and failed
  158.      to uncompress.. Make sure that you set PAK up right. Read the
  159.      notes in the READ.ME file or below under the heading
  160.      IMPORTANT on running the PAKINSTAL program on PAK.EXE.. He
  161.      can be dangerous if he is not installed correctly and you use
  162.      him outside of his home dir. With the SPAT variable set and
  163.      PAKINSTAL run on your copy of PAK.EXE ZIPPER will run from
  164.      any drive or directory as long as he is in your path..
  165.      Note that in revision E a new entry has been added to the CFG
  166.      file.. It is a comment that you can add to any and all files
  167.      that ZIPPER converts.. sysop's can put their BBS and phone
  168.      number in the last line of the CFG file and it will comment
  169.      all their conversions with an advertisement.. If you delete
  170.      your original CFG file on the earlier versions ZIPPER will
  171.      create a new one with a tag like this..
  172.       
  173.       e 
  174.      pkunpak
  175.       -eb4 -ea4 
  176.      * place your comments here for tagging *
  177.       
  178.      The first line is the command that causes PAK to unarchive
  179.      files.. the default is e. Line two is the name you want to
  180.      use for PKUNPAK.. ie. it could be PKXARC. Line three is the
  181.      command sent to PKZIP and specifies the compression level as
  182.      tightest.. The fourth line is the new comment line. The rules
  183.      are if the first character of the comment is a * character..
  184.  
  185.  
  186.  
  187.      ZIPPER.DOC             Sunday, February 19, 1989 8:10 pm             Page 4
  188.  
  189.  
  190.      or if the last line of your CFG file is blank then no comment
  191.      will be added to the new zips.. otherwise whatever you place
  192.      in the last line of your CFG file gets tagged onto every ZIP
  193.      file you create, automatically.. to temporarily disable
  194.      comments just stick a * character at the start of the line..
  195.       
  196.      ZIPPER will run from whatever directory you are currently in
  197.      and will create its work directory there.. this is so you can
  198.      build a ramdisk and cd to it and optimize for speed. Just make
  199.      sure when you run ZIPPER that there is enough disk space under
  200.      you to unarc the largest arc you will encounter..
  201.       
  202.       
  203.      operation
  204.       
  205.      ZIPPER converts a file at a time and creates a .\LOWER
  206.      subdirectory under your current directory to work in. The
  207.      work directory is deleted when done..if there is an abort or
  208.      error during compression of an already unarced file the
  209.      program will prompt you, so if you want you can save the work
  210.      directory data.. The work directory will contain the last
  211.      unarced file's contents if a file has been unarced and not
  212.      repacked... Any errors encountered with bad arcs are handled
  213.      by inserting the time,date and pathname of the bad .ARC or
  214.      .PAK file into the file BADFILE.LOG and ZIPPER goes onto the
  215.      next file.. ZIPPER will abort cleanly if you press escape..
  216.      Make sure there is enough disk space under you when you run
  217.      ZIPPER to hold the largest arc/pak you plan to convert..
  218.       
  219.      ZIPPER saves the original date and time of the file and
  220.      touches the new .ZIP file, so the original file date is
  221.      preserved.. and you don't wind up with all your directory
  222.      files dated the day of the conversion..
  223.       
  224.      ZIPPER creates a file in your SPAT directory called
  225.      BADFILES.LOG. Everytime you run ZIPPER it places the time and
  226.      date of the run in the BADFILE.LOG file as well as any files
  227.      it finds which fail to unarchive.. here is a sample of the
  228.      file..
  229.       
  230.      ZIPPER badfiles Sunday February 5, 1989 time  8:40:26 p.m.
  231.      d:\arcs\hold\mona.pak
  232.      d:\arcs\hold\nc12.arc
  233.      d:\arcs\hold\nc13.arc
  234.      ZIPPER badfiles Sunday February 5, 1989 time  8:53:25 p.m.
  235.      d:\arcs\hold\mj12.pak
  236.      d:\arcs\hold\mono.arc
  237.      d:\arcs\hold\mj12.arc
  238.       
  239.       
  240.      If you use the /l option with ZIPPER it will create a file
  241.      in your SPAT directory called ZIPPER.LOG which will contain
  242.      a log of the entire conversion.. here is an example of a
  243.      ZIPPER.LOG file..
  244.       
  245.  
  246.  
  247.  
  248.      ZIPPER.DOC             Sunday, February 19, 1989 8:10 pm             Page 5
  249.  
  250.  
  251.      ZIPPER runlog. Thursday February 10, 1989 time  4:19:42 p.m.
  252.      ════processing file c:\com\loads\test\bb_vs_ml.arc
  253.      ════processing file c:\com\loads\test\stant.pak
  254.      ╔═══════   bad archive file  ══════════╗
  255.      error occured during extraction of c:\com\loads\test\stant.pak
  256.        file being processed.. c:\com\loads\test\stant.pak is bad arc
  257.        badfile logged...
  258.      ════processing file c:\com\loads\test\ffx.arc
  259.      ════processing file c:\com\loads\test\badone.arc
  260.      found embedded ARC file FFF.ARC
  261.      processing FFF.ARC in c:\com\loads\test\badone.arc
  262.      bad archive file FFF.ARC in ARC
  263.      c:\com\loads\test\badone.arc  unsalvagable.. ARC logged..
  264.      ════processing file c:\com\loads\test\limerick.arc
  265.      ════processing file c:\com\loads\test\bullet.arc
  266.      ════processing file c:\com\loads\test\usenet.arc
  267.      ════processing file c:\com\loads\test\ctype.arc
  268.      ════processing file c:\com\loads\test\goodone.arc
  269.      found embedded ARC file CTYPE.ARC
  270.      processing CTYPE.ARC in c:\com\loads\test\goodone.arc
  271.      found another embedded ARC file SELPSC13.ARC
  272.      processing SELPSC13.ARC in c:\com\loads\test\goodone.arc
  273.      ════processing file c:\com\loads\test\stanho.arc
  274.       
  275.      as you can see ZIPPER unarcs and rezips arcs and paks that
  276.      are embedded inside ARCS and of course retains the correct
  277.      date and time of the file..
  278.       
  279.      Entering ZIPPER with no arguments will bring up a help
  280.      screen.
  281.       
  282.      IMPORTANT:::::::::::::::::::::::::::::::::::::::::::::::::::
  283.       
  284.      PAK can be dangerous in that if you want to run it outside
  285.      the current directory you need to run a program called
  286.      PAKINST to install it and tell it where it's CNF file is
  287.      located. This install program is in the .PAK arc ( ie.
  288.      PAK151.ARC or PAK16.ARC ) but it's use is documented in the
  289.      back of the docs and many people miss it. PAK can do some
  290.      very undesirable things if it is used outside it's home
  291.      directory without being installed.. Make sure and run PAKINST
  292.      and tell PAK where it's config file is before you use the set
  293.      command with ZIPPER and start using it outside of the PAK.EXE
  294.      directory..
  295.       
  296.      If you appreciate and use this program please send $15 or what
  297.      you think the program is worth to you to..
  298.       
  299.              FAST LOGIC OUTLAWS
  300.              J.L. Pearson
  301.              344 N. Acadia
  302.              Wichita Ks.
  303.              67212
  304.       
  305.      make all checks payable to J.L. Pearson..
  306.  
  307.  
  308.  
  309.      ZIPPER.DOC             Sunday, February 19, 1989 8:10 pm             Page 6
  310.  
  311.  
  312.       
  313.       
  314.      I will not be held responsible for any damage caused by this
  315.      program.. it is distributed as is. Care should be taken to
  316.      insure enough disk space to do the conversions. A tightly
  317.      packed floppy with PAK files can not have enough room to hold
  318.      the larger loosely compressed .ZIP files. The program will
  319.      abort when the disk is full and the last unarchived file will
  320.      be in the work directory.. The program has been tested on
  321.      many computers and if your computer will run PK and PAK and
  322.      you have correctly INSTALLED your PAK.EXE program you should
  323.      have no problems..
  324.       
  325.                              J.L. Pearson
  326.                              President and founder Bytebrothers
  327.                              Member Fast Logic Outlaws
  328.                              Wichita Ks.
  329.       
  330.      a note..
  331.       
  332.      We have all waited some time during the debacle between Phil
  333.      Katz's PKWARE vrs. SEA hassles. Phil has lost his PK code and
  334.      gone back to sqaure one while SEA's releases have found
  335.      remarkable new performance.. Phil has noted in his ZIP
  336.      release that the extension ZIP is released to the public
  337.      domain.. unlike SEA's attitude on ARC. I think this about
  338.      sums it up.. SEA now has the right to use ZIP on it's
  339.      tombstone and Phil can't complain let alone sue.. The worm
  340.      has turned folks..get Zippin. R.I.P. ARC, may it rot in the SEA !
  341.  
  342.                                              The Bytebrothers
  343.       
  344.  
  345.